package com.iqcctt.simpleflow.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/*
 * @Author LiTao
 * @Description //TODO
 * @Date 8:00 PM 3/21/2024
 * @Param
 * @return
 **/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface SimpleFiledFlow {

    /*
     * @Author LiTao
     * @Description 控制字段名称
     * @Date 6:09 PM 3/22/2024
     * @Param
     * @return
     **/
    String fieldName() default "";
    /*
     * @Author LiTao
     * @Description 控制字段值
     * @Date 9:20 PM 3/21/2024
     * @Param
     * @return
     **/
    int controlFieldValue() default -1;

    /*
     * @Author LiTao
     * @Description 最小长度限制
     * @Date 9:21 PM 3/21/2024
     * @Param
     * @return
     **/
    int lenMin() default -1;

    /*
     * @Author LiTao
     * @Description 默认值
     * @Date 12:55 PM 3/23/2024
     * @Param
     * @return
     **/
    String defValue() default "";

}
